#include<iostream>
using namespace std;
#include "bigint-simple.h"

int main(){   
   
  char a[MAX+1];
  char b[MAX+1];

  while(~scanf("%s%s", a, b)){
      Bigint biga(a), bigb(b), r;
#ifdef defadd
      add(biga, bigb, r);
#elif defsub
      sub(biga, bigb, r);
#elif defmul
      mul(biga, bigb, r);      
#elif defdiv
      div(biga, bigb, r);            
#endif
      print(r);
      printf("\n");
   }
   
   return 0;
}

